﻿<%@ Page Title="" Language="C#" MasterPageFile="~/SiteAdm.master" AutoEventWireup="true"
    CodeBehind="MinhasInformacoes.aspx.cs" Inherits="AgileSaude.Web.Pacientes.MinhasInformacoes" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <!-- TÍTULO DA PÁGINA -->
    <div class="area-titulo container-fluid">
        <div class="container">
            <h2 class="titulo">
                Meu Cadastro</h2>
        </div>
    </div>
    <!-- FIM DO TÍTULO -->
    <!-- Nav tabs -->
    <ul class="nav nav-tabs">
        <li><a href="#MeusDados" data-toggle="tab">Meus Dados</a></li>
        <li><a href="#Historico" data-toggle="tab">Histórico de Compras</a></li>
    </ul>
    <!-- Tab panes -->
    <div class="tab-content">
        <div class="tab-pane active" id="MeusDados">
            <div class="container">
                <div class="row">
                    <asp:HiddenField ID="hdfIdUsuario" runat="server" />
                    <span class="failureNotification">
                        <asp:Literal ID="FailureText" runat="server"></asp:Literal>
                    </span>
                    <asp:ValidationSummary ID="LoginUserValidationSummary" runat="server" CssClass="failureNotification"
                        ValidationGroup="CadastroValidationGroup" />
                    <div class="area-formulario">
                        <fieldset class="login">
                            <div class="form-group">
                                <label class="col-sm-3 control-label">
                                    CPF</label>
                                <div class="col-sm-7">
                                    <asp:TextBox ID="txtCPF" runat="server" CssClass="form-control" ReadOnly="true"></asp:TextBox>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">
                                    Nome</label>
                                <div class="col-sm-7">
                                    <asp:TextBox ID="txtNome" runat="server" CssClass="form-control"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="NomeRequired" runat="server" ControlToValidate="txtNome"
                                        CssClass="failureNotification" ErrorMessage="Nome é obrigatório." ToolTip="Nome é obrigatório."
                                        ValidationGroup="CadastroValidationGroup">*</asp:RequiredFieldValidator>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">
                                    Email</label>
                                <div class="col-sm-7">
                                    <asp:TextBox ID="txtEmail" runat="server" CssClass="form-control"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="EmailRequired" runat="server" ControlToValidate="txtEmail"
                                        CssClass="failureNotification" ErrorMessage="Email é obrigatório." ToolTip="Email é obrigatório."
                                        ValidationGroup="CadastroValidationGroup">*</asp:RequiredFieldValidator>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">
                                    Endereço</label>
                                <div class="col-sm-7">
                                    <asp:TextBox ID="txtEndereco" runat="server" CssClass="form-control"></asp:TextBox>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">
                                    Cidade</label>
                                <div class="col-sm-7">
                                    <asp:DropDownList ID="ddlCidade" runat="server" CssClass="form-control">
                                    </asp:DropDownList>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">
                                    Bairro</label>
                                <div class="col-sm-7">
                                    <asp:TextBox ID="txtBairro" runat="server" CssClass="form-control"></asp:TextBox>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">
                                    CEP</label>
                                <div class="col-sm-7">
                                    <asp:TextBox ID="txtCEP" runat="server" CssClass="form-control"></asp:TextBox>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">
                                    Senha Antiga</label>
                                <div class="col-sm-7">
                                    <asp:TextBox ID="txtSenhaAntiga" runat="server" CssClass="form-control" TextMode="Password"></asp:TextBox>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">
                                    Nova Senha</label>
                                <div class="col-sm-7">
                                    <asp:TextBox ID="txtNovaSenha" runat="server" CssClass="form-control" TextMode="Password"></asp:TextBox>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">
                                    Confirmar Senha</label>
                                <div class="col-sm-7">
                                    <asp:TextBox ID="txtConfirmarSenha" runat="server" CssClass="form-control" TextMode="Password"></asp:TextBox>
                                </div>
                            </div>
                        </fieldset>
                        <div class="row">
                            <div class="form-group">
                                <asp:LinkButton ID="btnSalvar" runat="server" class="btn btn-md btn-success" Text="&#xf00c; Salvar"
                                    ValidationGroup="CadastroValidationGroup" OnClick="btnSalvar_Click"></asp:LinkButton>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="tab-pane" id="Historico">
            Meu histórico de compras
        </div>
    </div>
</asp:Content>
